<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
    'prod'=>[
        // 数据库类型
        'type'            => 'mysql',
        // 服务器地址
        'hostname'        => '47.103.21.13',
        // 数据库名
        'database'        => '52bqg',
        // 用户名
        'username'        => 'root',
        // 密码
        'password'        => 'root',
      ],
    'dev'=>[
        // 数据库类型
        'type'            => 'mysql',
        // 服务器地址
        'hostname'        => '192.168.33.10',
        // 数据库名
        'database'        => '52bqg',
        // 用户名
        'username'        => 'homestead',
        // 密码
        'password'        => 'secret',
    ],

    //redis缓存设置
    'redis'   =>  [
        // 驱动方式
        'type'   => 'redis',
        // 服务器地址
        'host'   => '192.168.33.10',  //redis服务器ip
        'password' => '',
        'port'   => '6379',
        'password'=> "",
        'timeout' => 3600
    ],

];
